package edu.zcmu.seckill.enumeration;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum OrderStatusEnum {
    /**
     * 订单状态/0 待支付/1 已支付/2 订单过期/3 金额异常
     */
    ORDER_WAITING("待支付",0),
    ORDER_PAID("已支付",1),
    ORDER_OVERDUE("订单过期",2),
    ORDER_MONEY_ERROR("金额异常",3);


    private String describe;
    private Integer code;
}
